<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      let phrase = "Hello";
      if (true) {
        let user = "John";
        function sayHi() {
          console.log(`${phrase}, ${user}`);
        }
        // const sayHi = function () {
        //   console.log(`${phrase}, ${user}`);
        // };
      }
      sayHi();
    </script>
  </body>
</html>
